﻿using System;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;

namespace K9Nano.IM.Models
{
    public class ChatGroupMember : BasePoco
    {
        [Display(Name = "群组")]
        [Required]
        public Guid GroupId { get; set; }

        [Display(Name = "群组")]
        public virtual ChatGroup Group { get; set; }

        [Display(Name = "成员")]
        [Required]
        public Guid FriendId { get; set; }

        [Display(Name = "成员")]
        public virtual User Friend { get; set; }
    }
}